﻿@model RazorPagesMvc.Data.Entry
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

@{
    ViewData["Title"] = "Edit Guestbook entry";
}

<h1>Edit Entry @Model.Id</h1>
<form method="post">
    <div asp-validation-summary="All"></div>
    <input asp-for="Id" type="hidden" />
    <input asp-for="Email" type="hidden" />
    <input asp-for="Likes" type="hidden" />
    <div>
        <label asp-for="Content"></label>
        <div>
            <input asp-for="Content" />
            <span asp-validation-for="Content"></span>
        </div>
    </div>

    <div>
        <button type="submit">Save</button>
    </div>
</form>
